Scripting > CxScript > HyperPoint Object > HyperPoint Methods

HyperPoint Methods

The HyperPoint object contains the following method:

GetAttribute

The GetAttribute method returns the specified HyperPoint attribute.

Syntax

GetAttribute(attrAsStringorEnum As Variant) As Variant

Parameters

Parameter Required Description

attrAsStringorEnum

Yes

A value (either a string or an enumeration) indicating the attribute to return. See HyperPointAttributes.

Remarks

In Microsoft Visual Basic, you can use the enumeration constant, the numerical value, or the string name of the enumeration constant. In VBScript, you can only use the numerical value or the string name.

Example

Sub DEMOPNT_OnInitialize()

MsgBox DEMOPNT.GetAttribute(30)

MsgBox DEMOPNT.GetAttribute("Site")

End Sub


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.